package ModelLayer;



public class Discount
{
    
    private long discountId;
    private String discountName;
    private String dateFrom;
    private String dateTill;
    private int discountAmount;
  
    
   
    public Discount(long discountId, String discountName, String dateFrom, String dateTill, int discountAmount)
    {
     this.discountId = discountId;
     this.discountName = discountName;
     this.dateFrom = dateFrom;
     this.dateTill = dateTill;
     this.discountAmount = discountAmount;
    }

    
    
    
   public void setDiscountName(String discountName)
   {
       this.discountName = discountName;
   }
   
   public void setDateFrom(String dateFrom)
   {
       this.dateFrom = dateFrom;
   }
   
   public void setDateTill(String dateTill)
   {
       this.dateTill = dateTill;
   }
   
   public void setDiscountAmount(int discountAmount)
   {
       this.discountAmount = discountAmount;
   }
   
   public long getDiscountId()
   {
       return discountId;
    }
    
    public String getDiscountName()
    {
        return discountName;
    }
    
    public String getDiscountDateFrom()
    {
        return dateFrom;
    }
    
    public String getDiscountDateTill()
    {
        return dateTill;
    }
    
    public int getDiscountAmount()
    {
        return discountAmount;
    }
   
   
}
